<template>
	<view>
		子组件
		<slot></slot>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue';
	const count = ref(0)
	defineExpose({
		count,
		str: 'xxxx'
	})
</script>

<style lang="scss">

</style>